<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// #ifdef MP-WEIXIN
			uni.loadFontFace({
			      family: 'iconfont',
			      source: 'url("http://hhy.yum8.cn/font/iconfont.ttf")',
			      global: true,
			      success(res) {
			      },
				  fail(err) {
				  	console.log(err)
				  }
			    })
			// #endif
		},
		onShow: function() {
			console.log('App Show')
			
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/static/myIcon/iconfont.css";
</style>
